package com.zwps.biz.dal.db.object;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * 物资表
 * @TableName z_goods_materials
 */
@TableName(value ="z_goods_materials")
@Data
public class ZGoodsMaterialsDO implements Serializable {
    /**
     * 
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 1：抢险物料 2：救生器材，3：小型抢救机具  4：其他配件
     */
    @TableField(value = "type")
    private Integer type;

    /**
     * 物质名称
     */
    @TableField(value = "name")
    private String name;

    /**
     * 单位
     */
    @TableField(value = "unit")
    private String unit;

    /**
     * 数量
     */
    @TableField(value = "number")
    private Integer number;

    /**
     * 储备地点
     */
    @TableField(value = "place")
    private String place;
//    @TableField(value = "staff_name")
//    private String staffName;
//    @TableField(value = "phone")
//    private String phone;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}